Optimal. Leaf size=114 \[ \frac {4 b e n}{3 g (e f-d g) \sqrt {f+g x}}-\frac {4 b e^{3/2} n \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {f+g x}}{\sqrt {e f-d g}}\right )}{3 g (e f-d g)^{3/2}}-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{3 g (f+g x)^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 114, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2442, 53, 65,
214} \begin {gather*} -\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{3 g (f+g x)^{3/2}}-\frac {4 b e^{3/2} n \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {f+g x}}{\sqrt {e f-d g}}\right )}{3 g (e f-d g)^{3/2}}+\frac {4 b e n}{3 g \sqrt {f+g x} (e f-d g)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 53
Rule 65
Rule 214
Rule 2442
Rubi steps
\begin {align*} \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^{5/2}} \, dx &=-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{3 g (f+g x)^{3/2}}+\frac {(2 b e n) \int \frac {1}{(d+e x) (f+g x)^{3/2}} \, dx}{3 g}\\ &=\frac {4 b e n}{3 g (e f-d g) \sqrt {f+g x}}-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{3 g (f+g x)^{3/2}}+\frac {\left (2 b e^2 n\right ) \int \frac {1}{(d+e x) \sqrt {f+g x}} \, dx}{3 g (e f-d g)}\\ &=\frac {4 b e n}{3 g (e f-d g) \sqrt {f+g x}}-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{3 g (f+g x)^{3/2}}+\frac {\left (4 b e^2 n\right ) \text {Subst}\left (\int \frac {1}{d-\frac {e f}{g}+\frac {e x^2}{g}} \, dx,x,\sqrt {f+g x}\right )}{3 g^2 (e f-d g)}\\ &=\frac {4 b e n}{3 g (e f-d g) \sqrt {f+g x}}-\frac {4 b e^{3/2} n \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {f+g x}}{\sqrt {e f-d g}}\right )}{3 g (e f-d g)^{3/2}}-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{3 g (f+g x)^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in
optimal.
time = 0.03, size = 85, normalized size = 0.75 \begin {gather*} -\frac {4 b e n \, _2F_1\left (-\frac {1}{2},1;\frac {1}{2};\frac {e (f+g x)}{e f-d g}\right )}{3 g (-e f+d g) \sqrt {f+g x}}-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{3 g (f+g x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.13, size = 0, normalized size = 0.00 \[\int \frac {a +b \ln \left (c \left (e x +d \right )^{n}\right )}{\left (g x +f \right )^{\frac {5}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.41, size = 414, normalized size = 3.63 \begin {gather*} \left [-\frac {2 \, {\left ({\left (b g^{2} n x^{2} + 2 \, b f g n x + b f^{2} n\right )} \sqrt {-\frac {e}{d g - f e}} e \log \left (-\frac {d g - 2 \, {\left (d g - f e\right )} \sqrt {g x + f} \sqrt {-\frac {e}{d g - f e}} - {\left (g x + 2 \, f\right )} e}{x e + d}\right ) + {\left (a d g + {\left (2 \, b g n x + 2 \, b f n - a f\right )} e + {\left (b d g n - b f n e\right )} \log \left (x e + d\right ) + {\left (b d g - b f e\right )} \log \left (c\right )\right )} \sqrt {g x + f}\right )}}{3 \, {\left (d g^{4} x^{2} + 2 \, d f g^{3} x + d f^{2} g^{2} - {\left (f g^{3} x^{2} + 2 \, f^{2} g^{2} x + f^{3} g\right )} e\right )}}, -\frac {2 \, {\left (\frac {2 \, {\left (b g^{2} n x^{2} + 2 \, b f g n x + b f^{2} n\right )} \arctan \left (-\frac {\sqrt {d g - f e} e^{\left (-\frac {1}{2}\right )}}{\sqrt {g x + f}}\right ) e^{\frac {3}{2}}}{\sqrt {d g - f e}} + {\left (a d g + {\left (2 \, b g n x + 2 \, b f n - a f\right )} e + {\left (b d g n - b f n e\right )} \log \left (x e + d\right ) + {\left (b d g - b f e\right )} \log \left (c\right )\right )} \sqrt {g x + f}\right )}}{3 \, {\left (d g^{4} x^{2} + 2 \, d f g^{3} x + d f^{2} g^{2} - {\left (f g^{3} x^{2} + 2 \, f^{2} g^{2} x + f^{3} g\right )} e\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 34.24, size = 117, normalized size = 1.03 \begin {gather*} \frac {- \frac {2 a}{3 \left (f + g x\right )^{\frac {3}{2}}} + 2 b \left (\frac {2 e n \left (- \frac {g}{\sqrt {f + g x} \left (d g - e f\right )} - \frac {g \operatorname {atan}{\left (\frac {\sqrt {f + g x}}{\sqrt {\frac {d g - e f}{e}}} \right )}}{\sqrt {\frac {d g - e f}{e}} \left (d g - e f\right )}\right )}{3 g} - \frac {\log {\left (c \left (d - \frac {e f}{g} + \frac {e \left (f + g x\right )}{g}\right )^{n} \right )}}{3 \left (f + g x\right )^{\frac {3}{2}}}\right )}{g} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 6.00, size = 188, normalized size = 1.65 \begin {gather*} -\frac {4 \, b n \arctan \left (\frac {\sqrt {g x + f} e}{\sqrt {d g e - f e^{2}}}\right ) e^{2}}{3 \, {\left (d g^{2} - f g e\right )} \sqrt {d g e - f e^{2}}} - \frac {2 \, {\left (b d g n \log \left (d g + {\left (g x + f\right )} e - f e\right ) - b f n e \log \left (d g + {\left (g x + f\right )} e - f e\right ) - b d g n \log \left (g\right ) + b f n e \log \left (g\right ) + 2 \, {\left (g x + f\right )} b n e + b d g \log \left (c\right ) - b f e \log \left (c\right ) + a d g - a f e\right )}}{3 \, {\left ({\left (g x + f\right )}^{\frac {3}{2}} d g^{2} - {\left (g x + f\right )}^{\frac {3}{2}} f g e\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {a+b\,\ln \left (c\,{\left (d+e\,x\right )}^n\right )}{{\left (f+g\,x\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________